﻿// -----------------------------------------------------------------------
// <copyright file="Department_BLL.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace PMSGSC.BLL
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using PMSGSC.DAL;

    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    public class Department_BLL
    {
        public static List<Department> GetAll(int shipID)
        {
            return Department_DAL.GetAll(shipID);
        }
        public static bool Insert(Department Department)
        {
            return Department_DAL.Insert(Department);
        }
        public static List<Department> GetDataListByName(int id, int shipID)
        {
            return Department_DAL.GetDataListByName(id, shipID);
        }
        public static bool Update(Department Department)
        {
            return Department_DAL.Update(Department);
        }
        public static bool Delete(Department Department)
        {
            return Department_DAL.Delete(Department);
        }
        public static bool IsExits(Department Department, int shipID)
        {
            return Department_DAL.IsExits(Department, shipID);
        }
        public static bool IsRelationship(Department department)
        {
            return Department_DAL.IsRelationship(department);
        }
    }
}
